package com.eam.common.domain;

import com.eam.core.annotation.Excel;
import com.eam.core.core.entity.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 资产与任务对象 eam_task_asset
 * 
 * @author eam
 * @date 2022-03-14
 */
public class EamTaskAsset extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务id */
    @Excel(name = "任务id")
    private Long taskId;

    /**  资产id */
    @Excel(name = " 资产id")
    private Long assetId;

    /**  任务状态 */
    @Excel(name = " 任务状态")
    private Integer status;



    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setAssetId(Long assetId) 
    {
        this.assetId = assetId;
    }

    public Long getAssetId() 
    {
        return assetId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("assetId", getAssetId())
            .append("status", getStatus())
            .toString();
    }
}
